package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.entity.*;
import lombok.Data;

import java.util.List;

/**
 * @Auther Wenjian_Yang
 * @Date 2021/10/20
 */
@Data
public class DetailVo {
    private List<GoodsAttribute> attributes;
    private List<Integer> categoryIds;
    private Goods goods;
    private List<GoodsProduct> products;
    private List<GoodsSpecification> specifications;


    public DetailVo(List<GoodsAttribute> attributes, List<Integer> categoryIds, Goods goods, List<GoodsProduct> products, List<GoodsSpecification> specifications){
        this.attributes = attributes;
        this.categoryIds = categoryIds;
        this.goods = goods;
        this.products = products;
        this.specifications =specifications;
    }

    public DetailVo(List<GoodsAttribute> attributes, Goods goods, List<GoodsProduct> products, List<GoodsSpecification> specifications) {
        this.attributes = attributes;
        this.goods = goods;
        this.products = products;
        this.specifications =specifications;
    }
}
